//
//  MyVedioPlayer.h
//  封装播放器
//
//  Created by dllo on 16/3/21.
//  Copyright © 2016年 厉程. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface MyVedioPlayer : NSObject

@property (retain, nonatomic)UIView *playView;  /**< 播放视图 */

@property (nonatomic, retain)AVPlayer *player;  /**< 播放器对象 */

@property (nonatomic, strong) AVPlayerItem *playerItem;  /**< 播放项目 */

@property (nonatomic, retain) AVPlayerLayer *playerLayer;  /**< 用于显示播放器 */


@property (nonatomic, retain) UILabel *playTimesLabel;

@property (retain, nonatomic) UIButton *buttonFullScreen;

@property (retain, nonatomic)  UIView *bottomView;


+ (MyVedioPlayer *)shareVedioPlayer;


- (void)setPlayViewWithframe:(CGRect)layerRect string:(NSString *)str;

@end
